﻿using System;
using System.ComponentModel.DataAnnotations;

namespace zijian666.ComponentModel.DataAnnotations;
/// <summary>
/// 表示该属性需要验证
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
public class ValidateAttribute : ValidationAttribute
{
    public override bool IsValid(object value) => true;
}
